<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./adminTemplate.xhtml">

            <ui:define name="title">
                Details Company
            </ui:define>

            <ui:define name="contain">
                <h:form>
                    <h2 class="ico_mug">Details Company</h2>
                    <h:panelGrid columns="2" id="panel" cellpadding="5">
                        <h:outputLabel value="Company name:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.name}

                        <h:outputLabel value="Contact Person:" style="font-weight: bold;margin-right: 30px;"></h:outputLabel>
                        #{companyBean.company.contactPerson}

                        <h:outputLabel value="Designation:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.designation}

                        <h:outputLabel value="Mobile no:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.mobile}  

                        <h:outputLabel value="Telephone:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.telephone}

                        <h:outputLabel value="Fax:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.fax}

                        <h:outputLabel value="Member Type:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.memberType}

                        <h:outputLabel value="Address:" style="font-weight: bold;"></h:outputLabel>
                        #{companyBean.company.address}
                        
                        <h:outputLabel value="Status:" style="font-weight: bold;"></h:outputLabel>
                        <img src="img/#{companyBean.company.status}.png" border="0" /> 
                    </h:panelGrid>

                    <p:button value="GO Back" outcome="listCompany.xhtml" />
                </h:form>
            </ui:define>

        </ui:composition>

    </body>
</html>
